<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css"
          href="/resources/zTree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" type="text/css"
          href="/resources/zTree/plugin/css/index.css">
    <link rel="stylesheet" href="/resources/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="/resources/css/public.css" media="all" />
    <script type="text/javascript"
            src="/resources/zTree/js/jquery-1.4.4.min.js"></script>
    <script type="text/javascript"
            src="/resources/zTree/js/jquery.ztree.core.js"></script>
    <script type="text/javascript"
            src="/resources/zTree/plugin/js/selectTree.js"></script>
</head>
<body>

<!-- 添加修改的弹出层  开始 -->
<div style="display: none;" id="addAndUpdateUser">
    <form class="layui-form" id="dataFrm" lay-filter="dataFrm"
          style="margin: 10px">



        <div class="layui-form-item">
            <label class="layui-form-label">标题</label>
            <div class="layui-input-block">
                <input type="text" name="title" readonly="readonly" lay-verify="title"
                       autocomplete="off" placeholder="请输入标题" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">内容</label>
            <div class="layui-input-block">
					<textarea placeholder="请输入内容" readonly="readonly" id="content" name="content"
                              class="layui-textarea"></textarea>
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">作者</label>
            <div class="layui-input-block">
                <input type="text" name="author" readonly="readonly" lay-verify="title"
                       autocomplete="off" placeholder="请输入作者" class="layui-input">
            </div>
        </div>


    </form>


<div>

    <form class="layui-form" id="mindataFrm" lay-filter="mindataFrm">

        <div class="layui-form-item">
            <label class="layui-form-label">昵称</label>
            <div class="layui-input-block">
                <input type="text" name="author" lay-verify="title"
                       autocomplete="off" placeholder="请输入昵称" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">内容</label>
            <div class="layui-input-block">
<textarea placeholder="请输入内容" id="content" name="content"
          class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item" style="text-align: center;">
            <div class="layui-input-block">
                <button type="button" class="layui-btn" lay-submit=""
                        lay-filter="doSubmit">保存
                </button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                <button type="back" class="layui-btn layui-btn-primary">返回</button>
            </div>
        </div>

    </form>


</div>
    <script>

        var form;
        var tableIns;//数据表格实例
        layui.use([ 'element', 'layer', 'jquery', 'form', 'table','laydate' ],
            function() {
                var element = layui.element;
                var layer = layui.layer;
                var $ = layui.jquery;
                var laydate = layui.laydate;
                 var     form = layui.form;
                var table = layui.table;
                var laydate=layui.laydate;
            })
    </script>


</body>
</html>